package com.dha.entities;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
@Entity
@Table(name="lopHocPhan")
public class LopHocPhanEntity {
	@Id
	private String maLopHocPhan;
	private String maHocPhan;
	private String maGiaoVien;
	private String phong;
	private int thu;
	private int tuTiet;
	private int denTiet ;
	@Temporal(TemporalType.DATE)
	private Date ngayHieuLuc;
	private int hocKy;
	private String ghiChu;

	@Column(name = "maLopHocPhan")
	public String getMaLopHocPhan() {
		return maLopHocPhan;
	}
	public void setMaLopHocPhan(String maLopHocPhan) {
		this.maLopHocPhan = maLopHocPhan;
	}
	@Column(name="maHocPhan")
	public String getMaHocPhan() {
		return maHocPhan;
	}
	public void setMaHocPhan(String maHocPhan) {
		this.maHocPhan = maHocPhan;
	}
	@Column(name="maGiaoVien")
	public String getMaGiaoVien() {
		return maGiaoVien;
	}
	public void setMaGiaoVien(String maGiaoVien) {
		this.maGiaoVien = maGiaoVien;
	}
	@Column(name="phong")
	public String getPhong() {
		return phong;
	}
	public void setPhong(String phong) {
		this.phong = phong;
	}
	@Column(name="tuTiet")
	public int getTuTiet() {
		return tuTiet;
	}
	public void setTuTiet(int tuTiet) {
		this.tuTiet = tuTiet;
	}
	@Column(name="denTiet")
	public int getDenTiet() {
		return denTiet;
	}
	public void setDenTiet(int denTiet) {
		this.denTiet = denTiet;
	}
	@Column(name="ngayHieuLuc")
	public Date getNgayHieuLuc() {
		return ngayHieuLuc;
	}
	public void setNgayHieuLuc(Date ngayHieuLuc) {
		this.ngayHieuLuc = ngayHieuLuc;
	}
	@Column(name="hocKy")
	public int getHocKy() {
		return hocKy;
	}
	public void setHocKy(int hocKy) {
		this.hocKy = hocKy;
	}
	@Column(name="ghiChu")
	public String getGhiChu() {
		return ghiChu;
	}
	public void setGhiChu(String ghiChu) {
		this.ghiChu = ghiChu;
	}
	public LopHocPhanEntity() {
		super();
	}
	@Column(name="thu")
	public int getThu() {
		return thu;
	}
	public void setThu(int thu) {
		this.thu = thu;
	}
	public LopHocPhanEntity(String maLopHocPhan, String maHocPhan,
			String maGiaoVien, String phong, int thu, int tuTiet, int denTiet,
			Date ngayHieuLuc, int hocKy, String ghiChu) {
		super();
		this.maLopHocPhan = maLopHocPhan;
		this.maHocPhan = maHocPhan;
		this.maGiaoVien = maGiaoVien;
		this.phong = phong;
		this.thu = thu;
		this.tuTiet = tuTiet;
		this.denTiet = denTiet;
		this.ngayHieuLuc = ngayHieuLuc;
		this.hocKy = hocKy;
		this.ghiChu = ghiChu;
	}
	
	
	
}
